package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

@Mapper
public interface NursingPlanMapper {

    List<NursingPlanVo> selectNursingPlanAll();

    int countByName(String planName);


    void insert(NursingPlan nursingPlan);

    Page<NursingPlan> selectPageByNameAndStatus(String planName, Integer status);

    NursingPlan selectById(Long id);

    void update(NursingPlan nursingPlan);

    void deleteById(Long id);

    void updateStatus(Long id, Integer status);
}
